<?php

/*
* @author ducnhat
* @email ddnhat@gmail.com
* @copyright 2014
*/

class Zenddn_View_Helper_Page extends Zend_View_Helper_Abstract{
    
    public function page($key){
        $model = new Default_Model_Setting();
        $info = $model->getData('page');
        $info = unserialize($info['value']);
        
        return $info[$key];
    }
}